home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Puzzle
/
MonsterMemory.swf
/
scripts
/
frame_23
/
DoAction.as
Wrap
Text File
|
2004-06-12
|
863b
|
29 lines
trycount = "0";
GameCount = 0;
CountX = 0;
CountY = 0;
Shuffle = "1122334455667788";
while(Number(CountX) < 4)
{
while(Number(CountY) < 4)
{
CurrentCount = Number(Number(CountX * 4) + Number(CountY)) + 1;
duplicateMovieClip("/Card0","Card" add CurrentCount,16384 + CurrentCount);
setProperty("/Card" add CurrentCount, _X, Number(CountX * 70) + 225);
setProperty("/Card" add CurrentCount, _Y, Number(CountY * 70) + 150);
call("GetCard");
tellTarget("/Card" add CurrentCount)
{
MyCard = eval("/:NewCard");
}
trace(CountY add " " add CountX add " " add CurrentCount);
CountY = Number(CountY) + 1;
trace("Card " add CurrentCount add " is number " add MyCard);
}
CountY = 0;
CountX = Number(CountX) + 1;
}
ClickCount = "0";
FirstClick = "";
stop();